package com.ruoyi.project.module.lyx.lei;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

public class Chargeback {
    @Excel(name="流水号")
    private String liushuihao;

    @Excel(name="手牌")
    private String handBrand;

    @Excel(name="部门",readConverterExp="0=洗浴部门,1=餐饮部门,2=商品部门,3=前台部门,4=技师部门,5=客房部门,6=鞋吧,7=总店")
    private String department;

    @Excel(name="吧台")
    private String barNumber;

    @Excel(name="票号")
    private String piaohao;

    @Excel(name="消费名称")
    private String entryName;

    @Excel(name="单价")
    private String unitPrice;

    @Excel(name="数量")
    private String quantity;

    /** 合计金额 */
    @Excel(name = "合计金额")
    private String totalAmount;

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss")
    @Excel(name="录单时间",dateFormat = "YYYY-MM-dd HH:mm:ss")
    private Date recordingTime;

    @Excel(name="退单处理人")
    private String chargebackProcessorName;

    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss")
    @Excel(name="退单时间",dateFormat = "YYYY-MM-dd HH:mm:ss")
    private Date chargebackTime;

    @Excel(name="退单原因")
    private String reasonForChargeback;

    public String getLiushuihao() {
        return liushuihao;
    }

    public void setLiushuihao(String liushuihao) {
        this.liushuihao = liushuihao;
    }

    public String getHandBrand() {
        return handBrand;
    }

    public void setHandBrand(String handBrand) {
        this.handBrand = handBrand;
    }

    public String getBarNumber() {
        return barNumber;
    }

    public void setBarNumber(String barNumber) {
        this.barNumber = barNumber;
    }

    public String getPiaohao() {
        return piaohao;
    }

    public void setPiaohao(String piaohao) {
        this.piaohao = piaohao;
    }

    public String getEntryName() {
        return entryName;
    }

    public void setEntryName(String entryName) {
        this.entryName = entryName;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public Date getRecordingTime() {
        return recordingTime;
    }

    public void setRecordingTime(Date recordingTime) {
        this.recordingTime = recordingTime;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getChargebackProcessorName() {
        return chargebackProcessorName;
    }

    public void setChargebackProcessorName(String chargebackProcessorName) {
        this.chargebackProcessorName = chargebackProcessorName;
    }

    public Date getChargebackTime() {
        return chargebackTime;
    }

    public void setChargebackTime(Date chargebackTime) {
        this.chargebackTime = chargebackTime;
    }

    public String getReasonForChargeback() {
        return reasonForChargeback;
    }

    public void setReasonForChargeback(String reasonForChargeback) {
        this.reasonForChargeback = reasonForChargeback;
    }

    @Override
    public String toString() {
        return "Chargeback{" +
                "department='" + department + '\'' +
                ", chargebackProcessorName='" + chargebackProcessorName + '\'' +
                ", chargebackTime='" + chargebackTime + '\'' +
                ", reasonForChargeback='" + reasonForChargeback + '\'' +
                '}';
    }
}
